-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix test CI issue by calling self test action #217
Conversation
latest
tag was added to the incorrect commit hash
We have push events disabled so we can't test merge commits, which is a bit of a concern for me. but if we enable the if we set
|
We are seeing the thread-comment in this thread because the |
I don't think this is a feature anyone would want in cpp-linter because it seems specific to our use case. I think the solution is to switch back to running cpp-linter on this repo. Instead of using docs/examples/demo folder, we could add the test repo as a submodule of this repo and set |
This idea won't work exactly as stated. We can't checkout a submodule (in 1 job) then call the reusable workflow from the submodule's path (in another job). |
if possible to change GITHUB_REPOSITORY to cpp-linter/test-cpp-linter-action before running test action? |
According to GH docs:
|
Docs about using on:
push:
tags:
- latest |
It seems we don't need to call reusable workflow from https://github.com/pre-commit/action/blob/main/.github/workflows/main.yml#L12-L13 with that, we may not need to create |
oh, I never thought to use |
The self test CI failed because
|
latest
tag was added to the incorrect commit hash
I ignored the venv path and the CI passed. How about now, ready to merge? |
Cpp-Linter Report
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I understand that you just copied most of the workflow from our test repo, But that workflow is a little neglected.
Co-authored-by: Brendan <[email protected]>
Co-authored-by: Brendan <[email protected]>
Co-authored-by: Brendan <[email protected]>
Co-authored-by: Brendan <[email protected]>
closes #212